﻿using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using ZXthex.Html;

public class UI_Manager : MonoBehaviour
{
    public RectTransform page;
    void Start()
    {
        if (page == null && this.transform is RectTransform)
            page = transform as RectTransform;

        string path = System.IO.Path.Combine(
                        System.Environment.GetFolderPath(
                            System.Environment.SpecialFolder.Desktop),
                                "xx3.html");

        HTML2UGUI.FromHtmlFlieToUI(path, page);

    }


}
